package com.xiaofu.live.user.interfaces;

import com.xiaofu.live.user.dto.UserDTO;

import java.util.List;
import java.util.Map;

public interface IUserRpc {
    UserDTO getByUserId(Long userId);

    /**
     * 更新用户信息
     * @param userDTO
     * @return
     */
    boolean updateUserInfo(UserDTO userDTO);

    UserDTO insertUserInfo(UserDTO userDTO);

    Map<Long, UserDTO> batchQueryUserInfo(List<Long> userIdList);

}
